<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>v-pre指令的使用</title>
  <script src="../js/vue.js"></script>
</head>

<body>
  <div id ="app"> 
    <h2> {{ message }} </h2>
    <!-- 类似于pre标签，标签内容原封不动的展示出来，不做任何解析 -->
    <h2 v-pre>{{ message }}</h2>
  </div>

  <script>
   var vm = new Vue({
    el: '#app',
    data: {
      message: "你好",
    },
    methods: {}
   });
  </script>
</body>

</html>